package com.pen.shardingjdbc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
//@NoArgsConstructor
@TableName(value = "t_user")  //指定对应表
public class User {
    @TableId
    private Long userId;
    private String userName;
    @TableField("user_status")
    private String ustatus;
}
